#include <iostream>
#include <cstring>

using  namespace std;

//结构体
struct person 
{
    string name;//名字 字符串
    unsigned short age;//年龄 无符号整型
    unsigned short height;//身高 单位(cm) 无符号整型
    float weight;//体重 单位(kg) 浮点数
    string sex;//性别 字符串
};

int main()
{
    person a;
    a.name = "wpq";
    a.age = 18;
    a.height = 175;
    a.weight = 60.0;
    a.sex = "male";
    cout << "name = " << a.name <<endl;
    cout << "age = " << a.age <<endl;
    cout << "height = " << a.height <<endl;
    cout << "weight = " << a.weight <<endl;
    cout << "sex = " << a.sex <<endl;
    return 0;
}